.class public final Lcom/waiqin365/lightapp/im/b;
.super Ljava/lang/Object;


# static fields
.field private static a:Lcom/waiqin365/lightapp/im/b;


# instance fields
.field private b:Lcom/waiqin365/lightapp/im/d;

.field private c:Lcom/waiqin365/lightapp/im/domain/c;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/waiqin365/lightapp/im/b;->a:Lcom/waiqin365/lightapp/im/b;

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/b;->c:Lcom/waiqin365/lightapp/im/domain/c;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/b;->b()V

    return-void
.end method

.method public static declared-synchronized a()Lcom/waiqin365/lightapp/im/b;
    .locals 2

    const-class v1, Lcom/waiqin365/lightapp/im/b;

    monitor-enter v1

    :try_start_0
    sget-object v0, Lcom/waiqin365/lightapp/im/b;->a:Lcom/waiqin365/lightapp/im/b;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/im/b;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/im/b;-><init>()V

    sput-object v0, Lcom/waiqin365/lightapp/im/b;->a:Lcom/waiqin365/lightapp/im/b;

    :cond_0
    sget-object v0, Lcom/waiqin365/lightapp/im/b;->a:Lcom/waiqin365/lightapp/im/b;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v1

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit v1

    throw v0
.end method


# virtual methods
.method b()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/b;->c()Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/b;->c:Lcom/waiqin365/lightapp/im/domain/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/b;->c:Lcom/waiqin365/lightapp/im/domain/c;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/domain/c;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/domain/c;

    new-instance v0, Lcom/waiqin365/lightapp/im/c;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/im/c;-><init>(Lcom/waiqin365/lightapp/im/b;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/b;->b:Lcom/waiqin365/lightapp/im/d;

    return-void
.end method

.method protected c()Lcom/waiqin365/lightapp/im/domain/c;
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/im/domain/c;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/im/domain/c;-><init>()V

    return-object v0
.end method

.method public d()Lcom/waiqin365/lightapp/im/d;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/b;->b:Lcom/waiqin365/lightapp/im/d;

    return-object v0
.end method
